/*
 * @Author: your name
 * @Date: 2022-01-08 16:46:57
 * @LastEditTime: 2022-01-09 10:34:14
 * @LastEditors: your name
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \homepage\src\api\property.js
 */
import axios from '../utils/request'
//获取地产分类数据
export function getPropertyList(params) {
    return axios({
        url: `/properties`,
        method: 'get',
        params

    })
}


//获取地产数量
export function getPropertiesCount(params) {
    return axios({
        url: `/properties/count`,
        method: 'get',
        params
    })
}